package com.hdoit.apollo.logical.cargo.model;

import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Transient;

import com.tennetcn.data.message.ModelBase;
/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年04月02日 11:00:19
 * @comment
 */
@Entity
@Table(name="cargo_standard_user")
public class StandardUser extends ModelBase{
    //Id
    @Id
    @Column(name="standardUserId")
    private String standardUserId;

    //货物id
    @Column(name="cargoId")
    private String cargoId;
    
    
    //新规格添加时获取原no
    @Transient
    private String cargoNo;

    //规格Id
    @Column(name="standardId")
    private String standardId;

    //门店id
    @Column(name="shopId")
    private String shopId;

    //创建时间
    @Column(name="createDate")
    private Date createDate;

    //创建人id
    @Column(name="createUserId")
    private String createUserId;

    //创建人名称
    @Column(name="createUserName")
    private String createUserName;

    //修改时间
    @Column(name="modifyDate")
    private Date modifyDate;

    //修改人id
    @Column(name="modifyUserId")
    private String modifyUserId;

    //修改人名称
    @Column(name="modifyUserName")
    private String modifyUserName;

    //删除标记
    @Column(name="deleteMark")
    private Integer deleteMark;
    
    //备注
    @Column(name="comment")
    private String comment;
    
    @Transient
    private String otherPropertyNames;
    
    @Transient
    private String collocationNo;
    
    @Transient
    private String standardUserIds;
    
    @Transient
    private String costPrice;
    
    @Transient
    private String salePrice;
    

    @Transient
    private Standard standard;
    
    @Transient
    private List<StandardPropertyUser> standardPropertyUsers;
    
    @Transient 
    private List<StandardProperty> standardProperties;
    
    
	

	public String getOtherPropertyNames() {
		return otherPropertyNames;
	}
	public void setOtherPropertyNames(String otherPropertyNames) {
		this.otherPropertyNames = otherPropertyNames;
	}
	public String getCollocationNo() {
		return collocationNo;
	}
	public void setCollocationNo(String collocationNo) {
		this.collocationNo = collocationNo;
	}
	public String getStandardUserIds() {
		return standardUserIds;
	}
	public void setStandardUserIds(String standardUserIds) {
		this.standardUserIds = standardUserIds;
	}
	public String getCostPrice() {
		return costPrice;
	}
	public void setCostPrice(String costPrice) {
		this.costPrice = costPrice;
	}
	public String getSalePrice() {
		return salePrice;
	}
	public void setSalePrice(String salePrice) {
		this.salePrice = salePrice;
	}
	public List<StandardProperty> getStandardProperties() {
		return standardProperties;
	}
	public void setStandardProperties(List<StandardProperty> standardProperties) {
		this.standardProperties = standardProperties;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}

    public String getStandardUserId(){
        return this.standardUserId;
    }
    public void setStandardUserId(String standardUserId){
         this.standardUserId=standardUserId;
    }

    public String getCargoId(){
        return this.cargoId;
    }
    public void setCargoId(String cargoId){
         this.cargoId=cargoId;
    }


    public String getStandardId() {
		return standardId;
	}
	public void setStandardId(String standardId) {
		this.standardId = standardId;
	}
	public String getShopId(){
        return this.shopId;
    }
    public void setShopId(String shopId){
         this.shopId=shopId;
    }

    public Date getCreateDate(){
        return this.createDate;
    }
    public void setCreateDate(Date createDate){
         this.createDate=createDate;
    }

    public String getCreateUserId(){
        return this.createUserId;
    }
    public void setCreateUserId(String createUserId){
         this.createUserId=createUserId;
    }

    public String getCreateUserName(){
        return this.createUserName;
    }
    public void setCreateUserName(String createUserName){
         this.createUserName=createUserName;
    }

    public Date getModifyDate(){
        return this.modifyDate;
    }
    public void setModifyDate(Date modifyDate){
         this.modifyDate=modifyDate;
    }

    public String getModifyUserId(){
        return this.modifyUserId;
    }
    public void setModifyUserId(String modifyUserId){
         this.modifyUserId=modifyUserId;
    }

    public String getModifyUserName(){
        return this.modifyUserName;
    }
    public void setModifyUserName(String modifyUserName){
         this.modifyUserName=modifyUserName;
    }

    public Integer getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(Integer deleteMark){
         this.deleteMark=deleteMark;
    }
	public Standard getStandard() {
		return standard;
	}
	public void setStandard(Standard standard) {
		this.standard = standard;
	}
	public List<StandardPropertyUser> getStandardPropertyUsers() {
		return standardPropertyUsers;
	}
	public void setStandardPropertyUsers(List<StandardPropertyUser> standardPropertyUsers) {
		this.standardPropertyUsers = standardPropertyUsers;
	}
	public String getCargoNo() {
		return cargoNo;
	}
	public void setCargoNo(String cargoNo) {
		this.cargoNo = cargoNo;
	}

}